Assignment: Lists and Loops
Create a script that will print out the following for any series of numbers:
- "Negative" when a value is negative
- "Over 100" when the value is over 100
- "Less than 1" when the value is less than 1
- The value itself when the value is not one of the cases above.
Test your code (and turn it in) with the following series of values:
-10, 0, 23, 435, -321.0, 0.1, -00.2, 3.1415, 123456789, -4.2e37
Turn In
- A script that contains the loops mentioned above with appropriate documentation.